
package cz.muni.fi.pa165.hauntedhouses.service;

import cz.muni.fi.pa165.hauntedhouses.dto.HouseDTO;
import java.util.List;

/**
 *An interface for house service management.
 * @author Siliarus
 */
public interface HouseService {
    void create (HouseDTO house);
    
    void update (HouseDTO house);
    
    void remove (HouseDTO house);
    
    HouseDTO get (Long id);

    List<HouseDTO> findAll ();
    
    List<HouseDTO> findByName (String name);
    

}
